﻿// Apache-2.0 License
// Copyright (c) 2021-2022 SuperJeff
// 微信:15906588664  QQ:1024489

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.NET.Core.Entity;
/// <summary>
/// 短信验证码记录
/// </summary>
[SugarTable("SysPhoneCode", "短信验证码记录")]
public class SysPhoneCode
{

    /// <summary>
    /// Id
    /// </summary>
    [SugarColumn(ColumnDescription = "Id")]
    public string  Id { get; set; }
    /// <summary>
    ///电话号码
    /// </summary>
    [SugarColumn(ColumnDescription = "电话号码")]

    public string  Phone { get; set; }
    /// <summary>
    /// 验证码
    /// </summary>
    [SugarColumn(ColumnDescription = "验证码")]
    public string Code { get; set; }
    /// <summary>
    /// 创建时间
    /// </summary>
    [SugarColumn(ColumnDescription = "创建时间")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 类型
    /// </summary>
    [SugarColumn(ColumnDescription = "类型0.登录验证1.修改密码")]
    public int Type { get; set; }
}
